package cn.jsu.projectmanage.controller;

import cn.jsu.projectmanage.pojo.vo.AccountInfo;
import cn.jsu.projectmanage.pojo.vo.CommonResult;
import cn.jsu.projectmanage.service.AttendanceService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@CrossOrigin
@RestController
@RequestMapping("/attendance")
public class AttendanceController {

    @Autowired
    AttendanceService attendanceService;


    @PostMapping("/clockIn")
    @ApiOperation("打卡")
    public CommonResult clockIn(@RequestBody AccountInfo accountInfo) {
        return null;
    }

}
